package com.yuntcm.group6.med_booking.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//Java中实体类，映射数据库中的department表

@Data
@TableName("department")
public class Department {
@TableId(type= IdType.AUTO)
    private Long id;//int==>Integer   bigInt==Long
    private String name;
    private String description;
    private Integer status;
    private String createdAt;
    private String updatedAt;

}
